<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Switch to global sharding server for a given table</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.mysqlnd-ms-fabric-select-global" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mysqlnd_ms_fabric_select_global</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">mysqlnd_ms_fabric_select_global</span> &mdash; <span class="dc-title">Switch to global sharding server for a given table</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.mysqlnd-ms-fabric-select-global-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   
   <span class="methodname"><strong>mysqlnd_ms_fabric_select_global</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$connection</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$table_name</code></span>
   ) : <span class="type">array</span></div>


  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

  <p class="para">
    MySQL Fabric related.
  </p>
  <p class="para">
    Switch the connection to the nodes handling global sharding queries
    for the given table name.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mysqlnd-ms-fabric-select-global-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">connection</code></dt>

    <dd>

     <p class="para">
      A MySQL connection handle obtained from any of the
      connect functions of the <a href="ref.mysqli.html" class="link">mysqli</a>,
      <a href="ref.mysql.html" class="link">mysql</a> or
      <a href="ref.pdo_mysql.html" class="link">PDO_MYSQL</a> extensions.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">table_name</code></dt>

    <dd>

     <p class="para">
      The table name to ask Fabric about.
     </p>
    </dd>

   

  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mysqlnd-ms-fabric-select-global-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   <strong><code>FALSE</code></strong> on error. Otherwise, <strong><code>TRUE</code></strong>
  </p>
 </div>


 <div class="refsect1 unknown-returnvaluet" id="refsect1-function.mysqlnd-ms-fabric-select-global-unknown-returnvaluet">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    <span class="function"><strong>mysqlnd_ms_fabric_select_global()</strong></span> requires
    PECL mysqlnd_ms &gt;&gt; 1.6.0.
   </p>
  </p></blockquote>
 </div>


</div></div></div></body></html>